package com.zbxx.practice.designpattern.proxy.staticproxy;

import com.zbxx.practice.designpattern.proxy.BusinessObject;

/**
 * 继承实现代理  即多态
 * @author 万仁杰
 * @date 2019/05/31
 */
public class BusinessExtendsObject extends BusinessObject {

    @Override
    public void doService() {
        System.out.println("extend static proxy object start");
        super.doService();
        System.out.println("extend static proxy object end");
    }
}
